package com.framework.base.listener;

import lombok.Data;

/**
 * @author chaolong.jin
 * @description
 * @date 2019/06/24 10:04
 */
@Data
public class ListenerObject {
    private String name;
    private String content;

    public ListenerObject(String name, String content) {
        this.name = name;
        this.content = content;
    }

    private void invoke() {
        System.out.println(Thread.currentThread().getName() + "==" + name);
    }
}
